import { Content } from 'layout/';

import { Main } from 'views/';

export default {
	path: 'book',
	name: '文章管理',
	icon: 'inbox',
	component: Content,
	redirect: '/book/list',
	children: [{
		path: 'list',
		name: '文章列表',
		icon: 'bar-chart',
		component: Main.Book.List
	}, {
		path: 'create',
		hidden: true,
		name: '新增文章',
		icon: 'bar-chart',
		component: Main.Book.Edit
	}, {
		path: 'edit',
		hidden: true,
		name: '编辑文章',
		icon: 'bar-chart',
		component: Main.Book.Edit
	}]
};